package com.ffcs.web.services;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ffcs.web.daos.implementations.DirectionDao;
import com.ffcs.web.model.entity.Direction;

@Service
public class DirectionService {

	@Autowired
	private DirectionDao directionDao;
	
	/**
	 * 获取8大领域信息
	 * @return
	 */
	public List<Direction> getDirection() {
		List<Direction> directionList=directionDao.getAll();
		return directionList;
	}

}
